//
//  GXJTextField.h
//  X15.YiXiuDa
//
//  Created by 轩瑞 on 16/9/21.
//  Copyright © 2016年 NanJing. All rights reserved.
//

#import <UIKit/UIKit.h>
@class GXJTextField;
@protocol GXJtextFieldDelegate <NSObject>
@optional
- (void)GXJtextFieldChangeText:(GXJTextField *)textField;
@end

@interface GXJTextField : UIView
-(instancetype)initWithFrame:(CGRect)frame andImage:(NSString *)image;
-(instancetype)initWithFrame:(CGRect)frame andRightStr:(NSString *)str;

@property (nonatomic,assign)CGFloat cornerRadius;
@property (nonatomic,copy)NSString *imageName;
@property (nonatomic,copy)NSString *placeholder;
@property (nonatomic,assign)BOOL clear;
@property (nonatomic,assign)CGFloat font;
@property (nonatomic,assign)BOOL isResponse;
@property(nonatomic,copy)NSString *text;

@property (nonatomic,weak) id<GXJtextFieldDelegate> delegate;
@end
